package com.todod.model;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 用户表
 * 
 * @author MengHaoPeng
 * 
 */
@TableName("LTCLOUD_ZSGL_DB_DEV.sys_user")
public class User {

	/**
	 * 主鍵
	 */
	@TableId(value = "su_id", type = IdType.INPUT)
	private Long id;
	/** 部门id */
	@TableField("su_department_id")
	private Long departid;
	/** 邮箱 */
	@TableField("su_email")
	private String email;
	/** 工号 */
	@TableField("su_job_num")
	private String jobNum;
	/** 角色id */
	@TableField("su_role_id")
	private Long roleId;
	/** 用户名 */
	@TableField("su_user_name")
	private String userName;
	/** 昵称 */
	@TableField("su_nick_name")
	private String nickName;
	/** 密码 */
	@TableField("su_password")
	private String password;
	/** 状态（1：启用，2：禁用） */
	@TableField("su_state")
	private String state;
	/** 创建人 */
	@TableField("su_create_user_id")
	private Long createUserId;
	/** 创建时间 */
	@TableField("su_create_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;
	/** 修改人 */
	@TableField("su_modify_user_id")
	private Long modifyUserId;
	/** 修改时间 */
	@TableField("su_modify_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime modifyTime;
	/** 抽取标志位 */
	@TableField("su_get_flag")
	private String getFlag;
	/** 抽取批次号 */
	@TableField("su_get_batch")
	private String getBatch;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getDepartid() {
		return departid;
	}

	public void setDepartid(Long departid) {
		this.departid = departid;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getJobNum() {
		return jobNum;
	}

	public void setJobNum(String jobNum) {
		this.jobNum = jobNum;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public LocalDateTime getCreateTime() {
		return createTime;
	}

	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	public Long getModifyUserId() {
		return modifyUserId;
	}

	public void setModifyUserId(Long modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

	public LocalDateTime getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(LocalDateTime modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getGetFlag() {
		return getFlag;
	}

	public void setGetFlag(String getFlag) {
		this.getFlag = getFlag;
	}

	public String getGetBatch() {
		return getBatch;
	}

	public void setGetBatch(String getBatch) {
		this.getBatch = getBatch;
	}

}